package fhp.hlhj.giantfold.javaBean;

import java.util.ArrayList;
import java.util.List;

/**
 * author: FHP
 * data: on 2018\2\3 0003 9:34
 * E-Mail: 103945089@qq.com
 */

public class FriendsRankBean {

    /**
     * code : 200
     * msg : Sucess
     * invited_number : 1
     * sum_actual_amount : 0.0000000000
     * invited_users_ranking : [{"id":"9","user_name":"测试","phone":"13989888989","nick_name":"测试昵称","earnings_accumulated":"0.0000000000","savepath":null,"savename":null}]
     * global_ranking : [{"id":"4","user_name":"三年监禁，换你一生阴影","phone":"17781481226","nick_name":"Anroid","earnings_accumulated":"4110.6282191781","savepath":"Public/Uploads/User/2018-01-19/","savename":"09b8b1f0430b7203644f9f1b7890f144.jpg"},{"id":"9","user_name":"测试","phone":"13989888989","nick_name":"测试昵称","earnings_accumulated":"0.0000000000","savepath":null,"savename":null},{"id":"8","user_name":null,"phone":"18826989806","nick_name":null,"earnings_accumulated":"0.0000000000","savepath":null,"savename":null},{"id":"7","user_name":null,"phone":"15908199407","nick_name":"Div","earnings_accumulated":"0.0000000000","savepath":"Public/Uploads/User/2018-01-19/","savename":"62875e0028ced76ce62b19bc82aa36e6.jpg"},{"id":"3","user_name":null,"phone":"18708240802","nick_name":null,"earnings_accumulated":"0.0000000000","savepath":null,"savename":null},{"id":"2","user_name":"一生阴影","phone":"17828097918","nick_name":"一生阴影","earnings_accumulated":"0.0000000000","savepath":"Public/Uploads/User/2018-01-21/","savename":"35b09ec64cb53b340f40bbb0b6af8107.jpg"}]
     */

    private int code;
    private String msg;
    private String invited_number;
    private String sum_actual_amount;
    private List<InvitedUsersRankingBean> invited_users_ranking;
    private List<GlobalRankingBean> global_ranking;

    public FriendsRankBean() {
        invited_users_ranking=new ArrayList<>();
        global_ranking=new ArrayList<>();
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getInvited_number() {
        return invited_number;
    }

    public void setInvited_number(String invited_number) {
        this.invited_number = invited_number;
    }

    public String getSum_actual_amount() {
        return sum_actual_amount;
    }

    public void setSum_actual_amount(String sum_actual_amount) {
        this.sum_actual_amount = sum_actual_amount;
    }

    public List<InvitedUsersRankingBean> getInvited_users_ranking() {
        return invited_users_ranking;
    }

    public void setInvited_users_ranking(List<InvitedUsersRankingBean> invited_users_ranking) {
        this.invited_users_ranking = invited_users_ranking;
    }

    public List<GlobalRankingBean> getGlobal_ranking() {
        return global_ranking;
    }

    public void setGlobal_ranking(List<GlobalRankingBean> global_ranking) {
        this.global_ranking = global_ranking;
    }

    public static class InvitedUsersRankingBean {
        /**
         * id : 9
         * user_name : 测试
         * phone : 13989888989
         * nick_name : 测试昵称
         * earnings_accumulated : 0.0000000000
         * savepath : null
         * savename : null
         */

        private String id;
        private String user_name;
        private String phone;
        private String nick_name;
        private String earnings_accumulated;
        private String savepath;
        private String savename;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUser_name() {
            return user_name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getNick_name() {
            return nick_name;
        }

        public void setNick_name(String nick_name) {
            this.nick_name = nick_name;
        }

        public String getEarnings_accumulated() {
            return earnings_accumulated;
        }

        public void setEarnings_accumulated(String earnings_accumulated) {
            this.earnings_accumulated = earnings_accumulated;
        }

        public Object getSavepath() {
            return savepath;
        }

        public void setSavepath(String savepath) {
            this.savepath = savepath;
        }

        public String getSavename() {
            return savename;
        }

        public void setSavename(String savename) {
            this.savename = savename;
        }
    }

    public static class GlobalRankingBean {
        /**
         * id : 4
         * user_name : 三年监禁，换你一生阴影
         * phone : 17781481226
         * nick_name : Anroid
         * earnings_accumulated : 4110.6282191781
         * savepath : Public/Uploads/User/2018-01-19/
         * savename : 09b8b1f0430b7203644f9f1b7890f144.jpg
         */

        private String id;
        private String user_name;
        private String phone;
        private String nick_name;
        private String earnings_accumulated;
        private String savepath;
        private String savename;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUser_name() {
            return user_name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getNick_name() {
            return nick_name;
        }

        public void setNick_name(String nick_name) {
            this.nick_name = nick_name;
        }

        public String getEarnings_accumulated() {
            return earnings_accumulated;
        }

        public void setEarnings_accumulated(String earnings_accumulated) {
            this.earnings_accumulated = earnings_accumulated;
        }

        public String getSavepath() {
            return savepath;
        }

        public void setSavepath(String savepath) {
            this.savepath = savepath;
        }

        public String getSavename() {
            return savename;
        }

        public void setSavename(String savename) {
            this.savename = savename;
        }
    }
}
